"""
BetaSeries scrapper
"""
import re

class betaseries_scanner:
    """
    Cleaner regexp that makes shownames BS compliant
    """
    cleaner = re.compile( '[^a-zA-Z]' )
    
    def __init__( self ):
        return
    
    """
    Helper function that transforms a human readable showname to its betaseries equivalent
    """
    def cleanup( self, show_name ):
        return self.cleaner.sub( '',  show_name ).lower()
    
    def scan( self, showname ):
        showname = self.cleanup( showname )
        